object FAnalJedno: TFAnalJedno
  Left = 0
  Top = 0
  ActiveControl = Pages
  Caption = 'Analiza okresowa - jeden okres 1.2 (Beta)'
  ClientHeight = 608
  ClientWidth = 826
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  Scaled = False
  OnActivate = FormActivate
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 288
    Top = 112
    Width = 31
    Height = 13
    Caption = 'Label1'
  end
  object Panel1: TPanel
    Left = 0
    Top = 553
    Width = 826
    Height = 55
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 0
    DesignSize = (
      826
      55)
    object btClose: TButton
      Left = 744
      Top = 16
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = 'Zamknij'
      TabOrder = 0
      OnClick = btCloseClick
    end
    object btDalej: TButton
      Left = 648
      Top = 16
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = 'Dalej'
      TabOrder = 1
      OnClick = btDalejClick
    end
    object btWstecz: TButton
      Left = 567
      Top = 16
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = 'Wstecz'
      TabOrder = 2
      Visible = False
      OnClick = btWsteczClick
    end
    object Button1: TButton
      Left = 193
      Top = 16
      Width = 75
      Height = 25
      Caption = 'Raport SQL'
      TabOrder = 3
      Visible = False
    end
  end
  object Panel2: TPanel
    Left = 0
    Top = 0
    Width = 826
    Height = 553
    Align = alClient
    BevelOuter = bvNone
    Color = clWhite
    ParentBackground = False
    TabOrder = 1
    object AdvSplitter1: TAdvSplitter
      Left = 193
      Top = 0
      Height = 553
      Appearance.BorderColor = clNone
      Appearance.BorderColorHot = clNone
      Appearance.Color = clWhite
      Appearance.ColorTo = clSilver
      Appearance.ColorHot = clWhite
      Appearance.ColorHotTo = clGray
      GripStyle = sgDots
      ExplicitLeft = 336
      ExplicitTop = 248
      ExplicitHeight = 100
    end
    object Panel3: TPanel
      Left = 0
      Top = 0
      Width = 193
      Height = 553
      Align = alLeft
      BevelOuter = bvNone
      Color = clWhite
      ParentBackground = False
      TabOrder = 0
      DesignSize = (
        193
        553)
      object TreeList: TTreeList
        Left = 0
        Top = 0
        Width = 193
        Height = 438
        Align = alTop
        Anchors = [akLeft, akTop, akRight, akBottom]
        BevelInner = bvNone
        BevelOuter = bvNone
        Ctl3D = True
        HideSelection = False
        Indent = 19
        ParentCtl3D = False
        TabOrder = 0
        Visible = True
        OnChange = TreeListChange
        Columns = <>
        ColumnLines = True
        Separator = ';'
        ItemHeight = 16
        HeaderSettings.Color = clBtnFace
        HeaderSettings.Font.Charset = DEFAULT_CHARSET
        HeaderSettings.Font.Color = clWindowText
        HeaderSettings.Font.Height = -11
        HeaderSettings.Font.Name = 'Tahoma'
        HeaderSettings.Font.Style = []
        HeaderSettings.Height = 18
        HeaderSettings.Visible = False
        Version = '1.0.1.0'
      end
      object btSzablon: TButton
        Left = 8
        Top = 491
        Width = 179
        Height = 25
        Anchors = [akLeft, akRight, akBottom]
        Caption = 'Zapisz szablon'
        TabOrder = 2
        OnClick = btSzablonClick
      end
      object btUsunSzablon: TButton
        Left = 8
        Top = 522
        Width = 179
        Height = 25
        Anchors = [akLeft, akRight, akBottom]
        Caption = 'Usu'#324' szablon'
        Enabled = False
        TabOrder = 3
        OnClick = btUsunSzablonClick
      end
      object btRaport: TButton
        Tag = 10
        Left = 8
        Top = 460
        Width = 179
        Height = 25
        Anchors = [akLeft, akRight, akBottom]
        Caption = 'Raport'
        Enabled = False
        TabOrder = 4
        OnClick = btRaportClick
      end
    end
    object Panel4: TPanel
      Left = 196
      Top = 0
      Width = 630
      Height = 553
      Align = alClient
      BevelOuter = bvNone
      Color = clWhite
      ParentBackground = False
      TabOrder = 1
      object Pages: TAdvSmoothTabPager
        Left = 0
        Top = 0
        Width = 630
        Height = 553
        Align = alClient
        ActivePage = TabPageOgraniczenia
        TabPosition = tpBottomLeft
        TabSettings.StartMargin = 4
        TabSettings.Height = 48
        TabSettings.Width = 120
        TabReorder = False
        OnChange = PagesChange
        TabOrder = 0
        object TabPageData: TAdvSmoothTabPage
          Left = 1
          Top = 2
          Width = 628
          Height = 503
          Caption = 'Data'
          PageAppearance.Color = clWhite
          PageAppearance.ColorTo = clWhite
          PageAppearance.ColorMirror = clWhite
          PageAppearance.ColorMirrorTo = clWhite
          PageAppearance.GradientType = gtNone
          PageAppearance.GradientMirrorType = gtNone
          PageAppearance.BackGroundPictureLeft = 0
          PageAppearance.BackGroundPictureTop = 0
          PageAppearance.PictureLeft = 0
          PageAppearance.PictureTop = 0
          PageAppearance.BorderColor = clNone
          PageAppearance.BorderWidth = 4
          PageAppearance.Rounding = 0
          PageAppearance.RoundingType = rtBottom
          PageAppearance.ShadowOffset = 0
          PageAppearance.Angle = 0
          TabAppearance.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Appearance.Font.Color = clWindowText
          TabAppearance.Appearance.Font.Height = -11
          TabAppearance.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Appearance.Font.Style = [fsBold]
          TabAppearance.Status.Caption = '0'
          TabAppearance.Status.Appearance.Fill.Color = clRed
          TabAppearance.Status.Appearance.Fill.ColorMirror = clNone
          TabAppearance.Status.Appearance.Fill.ColorMirrorTo = clNone
          TabAppearance.Status.Appearance.Fill.GradientType = gtSolid
          TabAppearance.Status.Appearance.Fill.BackGroundPictureLeft = 0
          TabAppearance.Status.Appearance.Fill.BackGroundPictureTop = 0
          TabAppearance.Status.Appearance.Fill.PictureLeft = 0
          TabAppearance.Status.Appearance.Fill.PictureTop = 0
          TabAppearance.Status.Appearance.Fill.BorderColor = clGray
          TabAppearance.Status.Appearance.Fill.Rounding = 0
          TabAppearance.Status.Appearance.Fill.ShadowOffset = 0
          TabAppearance.Status.Appearance.Fill.Angle = 0
          TabAppearance.Status.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Status.Appearance.Font.Color = clWhite
          TabAppearance.Status.Appearance.Font.Height = -11
          TabAppearance.Status.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Status.Appearance.Font.Style = []
          TabAppearance.Status.Appearance.Spacing = 0
          TabAppearance.BevelColor = 16765357
          TabAppearance.Color = 16773091
          TabAppearance.ColorDown = 11196927
          TabAppearance.ColorDisabled = 16765357
          object Shape2: TShape
            Left = 2
            Top = 499
            Width = 624
            Height = 2
            Align = alBottom
            Brush.Color = 16765357
            Pen.Color = 16765357
            ExplicitTop = 411
            ExplicitWidth = 552
          end
          object AdvSmoothLabel1: TAdvSmoothLabel
            Left = 2
            Top = 2
            Width = 624
            Height = 71
            Fill.ColorMirror = clNone
            Fill.ColorMirrorTo = clNone
            Fill.BackGroundPictureLeft = 0
            Fill.BackGroundPictureTop = 0
            Fill.PictureLeft = 0
            Fill.PictureTop = 0
            Fill.BorderColor = clNone
            Fill.Rounding = 0
            Fill.ShadowOffset = 0
            Fill.Angle = 0
            Caption.Text = 'Wyb'#243'r okresu'
            Caption.Font.Charset = DEFAULT_CHARSET
            Caption.Font.Color = clWindowText
            Caption.Font.Height = -27
            Caption.Font.Name = 'Tahoma'
            Caption.Font.Style = []
            Version = '1.1.0.0'
            Align = alTop
            ExplicitWidth = 552
          end
          object Label2: TLabel
            Left = 25
            Top = 74
            Width = 199
            Height = 13
            Caption = 'Ustal jakiego okresu ma dotyczyc raport. '
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
          object Label4: TLabel
            Left = 25
            Top = 93
            Width = 342
            Height = 13
            Caption = 
              'Wszystkie dokumenty sprzeda'#380'y z tego okresu bed'#261' brane pod uwage' +
              '.'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
          object edOdDnia: TAdvSmoothDatePicker
            Left = 232
            Top = 176
            Width = 153
            Height = 21
            Flat = False
            LabelCaption = 'Od dnia'
            LabelPosition = lpLeftCenter
            LabelMargin = 10
            LabelFont.Charset = DEFAULT_CHARSET
            LabelFont.Color = clWindowText
            LabelFont.Height = -11
            LabelFont.Name = 'Tahoma'
            LabelFont.Style = []
            Lookup.Separator = ';'
            Color = clWindow
            Enabled = True
            TabOrder = 0
            Text = '2012-03-02'
            Visible = True
            Version = '1.5.0.3'
            ButtonStyle = bsDropDown
            ButtonWidth = 16
            Etched = False
            Glyph.Data = {
              DA020000424DDA0200000000000036000000280000000D0000000D0000000100
              200000000000A402000000000000000000000000000000000000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F00000000000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000000000000000000000000000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F0000000000000000000000000000000000000000000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F0000000000000000000000000000000
              0000000000000000000000000000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000}
            HideCalendarAfterSelection = True
            Calendar.Fill.Color = 15984090
            Calendar.Fill.ColorTo = 15785680
            Calendar.Fill.ColorMirror = clNone
            Calendar.Fill.ColorMirrorTo = clNone
            Calendar.Fill.BackGroundPictureLeft = 0
            Calendar.Fill.BackGroundPictureTop = 0
            Calendar.Fill.PictureLeft = 0
            Calendar.Fill.PictureTop = 0
            Calendar.Fill.BorderColor = clNone
            Calendar.Fill.Rounding = 0
            Calendar.Fill.ShadowOffset = 0
            Calendar.Fill.Angle = 0
            Calendar.Animation = True
            Calendar.ShowCurrentDate = True
            Calendar.DateAppearance.DateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DateFont.Color = clWindowText
            Calendar.DateAppearance.DateFont.Height = -11
            Calendar.DateAppearance.DateFont.Name = 'Tahoma'
            Calendar.DateAppearance.DateFont.Style = []
            Calendar.DateAppearance.DateFill.Color = 16773091
            Calendar.DateAppearance.DateFill.ColorTo = 16768452
            Calendar.DateAppearance.DateFill.ColorMirror = 16765357
            Calendar.DateAppearance.DateFill.ColorMirrorTo = 16767936
            Calendar.DateAppearance.DateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.DateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DateFill.PictureLeft = 0
            Calendar.DateAppearance.DateFill.PictureTop = 0
            Calendar.DateAppearance.DateFill.BorderColor = clNone
            Calendar.DateAppearance.DateFill.Rounding = 0
            Calendar.DateAppearance.DateFill.ShadowOffset = 0
            Calendar.DateAppearance.DateFill.Angle = 0
            Calendar.DateAppearance.DayOfWeekFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DayOfWeekFont.Color = clWindowText
            Calendar.DateAppearance.DayOfWeekFont.Height = -11
            Calendar.DateAppearance.DayOfWeekFont.Name = 'Tahoma'
            Calendar.DateAppearance.DayOfWeekFont.Style = []
            Calendar.DateAppearance.DayOfWeekFill.Color = 15984090
            Calendar.DateAppearance.DayOfWeekFill.ColorTo = 15785680
            Calendar.DateAppearance.DayOfWeekFill.ColorMirror = clNone
            Calendar.DateAppearance.DayOfWeekFill.ColorMirrorTo = clNone
            Calendar.DateAppearance.DayOfWeekFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DayOfWeekFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DayOfWeekFill.PictureLeft = 0
            Calendar.DateAppearance.DayOfWeekFill.PictureTop = 0
            Calendar.DateAppearance.DayOfWeekFill.BorderColor = clNone
            Calendar.DateAppearance.DayOfWeekFill.Rounding = 0
            Calendar.DateAppearance.DayOfWeekFill.ShadowOffset = 0
            Calendar.DateAppearance.DayOfWeekFill.Angle = 0
            Calendar.DateAppearance.SelectedDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.SelectedDateFont.Color = clWindowText
            Calendar.DateAppearance.SelectedDateFont.Height = -11
            Calendar.DateAppearance.SelectedDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.SelectedDateFont.Style = []
            Calendar.DateAppearance.SelectedDateFill.Color = 11196927
            Calendar.DateAppearance.SelectedDateFill.ColorTo = 7257087
            Calendar.DateAppearance.SelectedDateFill.ColorMirror = 4370174
            Calendar.DateAppearance.SelectedDateFill.ColorMirrorTo = 8053246
            Calendar.DateAppearance.SelectedDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.SelectedDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.SelectedDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.SelectedDateFill.PictureLeft = 0
            Calendar.DateAppearance.SelectedDateFill.PictureTop = 0
            Calendar.DateAppearance.SelectedDateFill.BorderColor = 4370174
            Calendar.DateAppearance.SelectedDateFill.Rounding = 0
            Calendar.DateAppearance.SelectedDateFill.ShadowOffset = 0
            Calendar.DateAppearance.SelectedDateFill.Angle = 0
            Calendar.DateAppearance.CurrentDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.CurrentDateFont.Color = clWindowText
            Calendar.DateAppearance.CurrentDateFont.Height = -11
            Calendar.DateAppearance.CurrentDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.CurrentDateFont.Style = []
            Calendar.DateAppearance.CurrentDateFill.Color = 7778289
            Calendar.DateAppearance.CurrentDateFill.ColorTo = 4296947
            Calendar.DateAppearance.CurrentDateFill.ColorMirror = 946929
            Calendar.DateAppearance.CurrentDateFill.ColorMirrorTo = 5021693
            Calendar.DateAppearance.CurrentDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.CurrentDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.CurrentDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.CurrentDateFill.PictureLeft = 0
            Calendar.DateAppearance.CurrentDateFill.PictureTop = 0
            Calendar.DateAppearance.CurrentDateFill.BorderColor = 4548219
            Calendar.DateAppearance.CurrentDateFill.Rounding = 0
            Calendar.DateAppearance.CurrentDateFill.ShadowOffset = 0
            Calendar.DateAppearance.CurrentDateFill.Angle = 0
            Calendar.DateAppearance.WeekendFill.Color = 16773091
            Calendar.DateAppearance.WeekendFill.ColorTo = 16768452
            Calendar.DateAppearance.WeekendFill.ColorMirror = 16765357
            Calendar.DateAppearance.WeekendFill.ColorMirrorTo = 16767936
            Calendar.DateAppearance.WeekendFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.WeekendFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.WeekendFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.WeekendFill.PictureLeft = 0
            Calendar.DateAppearance.WeekendFill.PictureTop = 0
            Calendar.DateAppearance.WeekendFill.BorderColor = clNone
            Calendar.DateAppearance.WeekendFill.Rounding = 0
            Calendar.DateAppearance.WeekendFill.ShadowOffset = 0
            Calendar.DateAppearance.WeekendFill.Angle = 0
            Calendar.DateAppearance.WeekendFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.WeekendFont.Color = clWindowText
            Calendar.DateAppearance.WeekendFont.Height = -11
            Calendar.DateAppearance.WeekendFont.Name = 'Tahoma'
            Calendar.DateAppearance.WeekendFont.Style = []
            Calendar.DateAppearance.HoverDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.HoverDateFont.Color = clWindowText
            Calendar.DateAppearance.HoverDateFont.Height = -11
            Calendar.DateAppearance.HoverDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.HoverDateFont.Style = []
            Calendar.DateAppearance.HoverDateFill.Color = 15465983
            Calendar.DateAppearance.HoverDateFill.ColorTo = 11332863
            Calendar.DateAppearance.HoverDateFill.ColorMirror = 5888767
            Calendar.DateAppearance.HoverDateFill.ColorMirrorTo = 10807807
            Calendar.DateAppearance.HoverDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.HoverDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.HoverDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.HoverDateFill.PictureLeft = 0
            Calendar.DateAppearance.HoverDateFill.PictureTop = 0
            Calendar.DateAppearance.HoverDateFill.BorderColor = 10079963
            Calendar.DateAppearance.HoverDateFill.Rounding = 0
            Calendar.DateAppearance.HoverDateFill.ShadowOffset = 0
            Calendar.DateAppearance.HoverDateFill.Angle = 0
            Calendar.DateAppearance.MonthDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.MonthDateFont.Color = clWindowText
            Calendar.DateAppearance.MonthDateFont.Height = -11
            Calendar.DateAppearance.MonthDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.MonthDateFont.Style = []
            Calendar.DateAppearance.YearDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.YearDateFont.Color = clWindowText
            Calendar.DateAppearance.YearDateFont.Height = -11
            Calendar.DateAppearance.YearDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.YearDateFont.Style = []
            Calendar.DateAppearance.WeekNumbers.Font.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.WeekNumbers.Font.Color = clWindowText
            Calendar.DateAppearance.WeekNumbers.Font.Height = -11
            Calendar.DateAppearance.WeekNumbers.Font.Name = 'Tahoma'
            Calendar.DateAppearance.WeekNumbers.Font.Style = []
            Calendar.DateAppearance.WeekNumbers.Fill.Color = 15984090
            Calendar.DateAppearance.WeekNumbers.Fill.ColorTo = 15785680
            Calendar.DateAppearance.WeekNumbers.Fill.ColorMirror = clNone
            Calendar.DateAppearance.WeekNumbers.Fill.ColorMirrorTo = clNone
            Calendar.DateAppearance.WeekNumbers.Fill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.WeekNumbers.Fill.BackGroundPictureTop = 0
            Calendar.DateAppearance.WeekNumbers.Fill.PictureLeft = 0
            Calendar.DateAppearance.WeekNumbers.Fill.PictureTop = 0
            Calendar.DateAppearance.WeekNumbers.Fill.BorderColor = clNone
            Calendar.DateAppearance.WeekNumbers.Fill.Rounding = 0
            Calendar.DateAppearance.WeekNumbers.Fill.ShadowOffset = 0
            Calendar.DateAppearance.WeekNumbers.Fill.Angle = 0
            Calendar.DateAppearance.DisabledDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DisabledDateFont.Color = clGray
            Calendar.DateAppearance.DisabledDateFont.Height = -11
            Calendar.DateAppearance.DisabledDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.DisabledDateFont.Style = []
            Calendar.DateAppearance.DisabledDateFill.Color = 15921906
            Calendar.DateAppearance.DisabledDateFill.ColorTo = 11974326
            Calendar.DateAppearance.DisabledDateFill.ColorMirror = 11974326
            Calendar.DateAppearance.DisabledDateFill.ColorMirrorTo = 15921906
            Calendar.DateAppearance.DisabledDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.DisabledDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DisabledDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DisabledDateFill.PictureLeft = 0
            Calendar.DateAppearance.DisabledDateFill.PictureTop = 0
            Calendar.DateAppearance.DisabledDateFill.BorderColor = clNone
            Calendar.DateAppearance.DisabledDateFill.Rounding = 0
            Calendar.DateAppearance.DisabledDateFill.ShadowOffset = 0
            Calendar.DateAppearance.DisabledDateFill.Angle = 0
            Calendar.DateAppearance.DateBeforeFill.ColorMirror = clNone
            Calendar.DateAppearance.DateBeforeFill.ColorMirrorTo = clNone
            Calendar.DateAppearance.DateBeforeFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DateBeforeFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DateBeforeFill.PictureLeft = 0
            Calendar.DateAppearance.DateBeforeFill.PictureTop = 0
            Calendar.DateAppearance.DateBeforeFill.BorderColor = clNone
            Calendar.DateAppearance.DateBeforeFill.Rounding = 0
            Calendar.DateAppearance.DateBeforeFill.ShadowOffset = 0
            Calendar.DateAppearance.DateBeforeFill.Angle = 0
            Calendar.DateAppearance.DateAfterFill.ColorMirror = clNone
            Calendar.DateAppearance.DateAfterFill.ColorMirrorTo = clNone
            Calendar.DateAppearance.DateAfterFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DateAfterFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DateAfterFill.PictureLeft = 0
            Calendar.DateAppearance.DateAfterFill.PictureTop = 0
            Calendar.DateAppearance.DateAfterFill.BorderColor = clNone
            Calendar.DateAppearance.DateAfterFill.Rounding = 0
            Calendar.DateAppearance.DateAfterFill.ShadowOffset = 0
            Calendar.DateAppearance.DateAfterFill.Angle = 0
            Calendar.DateAppearance.DateBeforeFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DateBeforeFont.Color = clWindowText
            Calendar.DateAppearance.DateBeforeFont.Height = -11
            Calendar.DateAppearance.DateBeforeFont.Name = 'Tahoma'
            Calendar.DateAppearance.DateBeforeFont.Style = []
            Calendar.DateAppearance.DateAfterFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DateAfterFont.Color = clWindowText
            Calendar.DateAppearance.DateAfterFont.Height = -11
            Calendar.DateAppearance.DateAfterFont.Name = 'Tahoma'
            Calendar.DateAppearance.DateAfterFont.Style = []
            Calendar.StatusAppearance.Fill.Color = clRed
            Calendar.StatusAppearance.Fill.ColorMirror = clNone
            Calendar.StatusAppearance.Fill.ColorMirrorTo = clNone
            Calendar.StatusAppearance.Fill.GradientType = gtSolid
            Calendar.StatusAppearance.Fill.BackGroundPictureLeft = 0
            Calendar.StatusAppearance.Fill.BackGroundPictureTop = 0
            Calendar.StatusAppearance.Fill.PictureLeft = 0
            Calendar.StatusAppearance.Fill.PictureTop = 0
            Calendar.StatusAppearance.Fill.BorderColor = clGray
            Calendar.StatusAppearance.Fill.Rounding = 0
            Calendar.StatusAppearance.Fill.ShadowOffset = 0
            Calendar.StatusAppearance.Fill.Angle = 0
            Calendar.StatusAppearance.Font.Charset = DEFAULT_CHARSET
            Calendar.StatusAppearance.Font.Color = clWhite
            Calendar.StatusAppearance.Font.Height = -11
            Calendar.StatusAppearance.Font.Name = 'Tahoma'
            Calendar.StatusAppearance.Font.Style = []
            Calendar.StatusAppearance.Spacing = 0
            Calendar.Footer.Fill.Color = 16773091
            Calendar.Footer.Fill.ColorTo = 16765615
            Calendar.Footer.Fill.ColorMirror = clNone
            Calendar.Footer.Fill.ColorMirrorTo = clNone
            Calendar.Footer.Fill.BackGroundPictureLeft = 0
            Calendar.Footer.Fill.BackGroundPictureTop = 0
            Calendar.Footer.Fill.PictureLeft = 0
            Calendar.Footer.Fill.PictureTop = 0
            Calendar.Footer.Fill.BorderColor = 16765615
            Calendar.Footer.Fill.Rounding = 0
            Calendar.Footer.Fill.ShadowOffset = 0
            Calendar.Footer.Fill.Angle = 0
            Calendar.Footer.Font.Charset = DEFAULT_CHARSET
            Calendar.Footer.Font.Color = 7485192
            Calendar.Footer.Font.Height = -11
            Calendar.Footer.Font.Name = 'Tahoma'
            Calendar.Footer.Font.Style = []
            Calendar.Header.Fill.Color = 16773091
            Calendar.Header.Fill.ColorTo = 16765615
            Calendar.Header.Fill.ColorMirror = clNone
            Calendar.Header.Fill.ColorMirrorTo = clNone
            Calendar.Header.Fill.BackGroundPictureLeft = 0
            Calendar.Header.Fill.BackGroundPictureTop = 0
            Calendar.Header.Fill.PictureLeft = 0
            Calendar.Header.Fill.PictureTop = 0
            Calendar.Header.Fill.BorderColor = 16765615
            Calendar.Header.Fill.Rounding = 0
            Calendar.Header.Fill.ShadowOffset = 0
            Calendar.Header.Fill.Angle = 0
            Calendar.Header.ArrowColor = 7485192
            Calendar.Header.Font.Charset = DEFAULT_CHARSET
            Calendar.Header.Font.Color = 7485192
            Calendar.Header.Font.Height = -11
            Calendar.Header.Font.Name = 'Tahoma'
            Calendar.Header.Font.Style = []
            Calendar.Width = 257
            Calendar.Height = 249
            Calendar.ShowHint = False
            Date = 40970.000000000000000000
          end
          object edDoDnia: TAdvSmoothDatePicker
            Left = 232
            Top = 232
            Width = 153
            Height = 21
            Flat = False
            LabelCaption = 'Do dnia'
            LabelPosition = lpLeftCenter
            LabelMargin = 10
            LabelFont.Charset = DEFAULT_CHARSET
            LabelFont.Color = clWindowText
            LabelFont.Height = -11
            LabelFont.Name = 'Tahoma'
            LabelFont.Style = []
            Lookup.Separator = ';'
            Color = clWindow
            Enabled = True
            TabOrder = 1
            Text = '2012-03-02'
            Visible = True
            Version = '1.5.0.3'
            ButtonStyle = bsDropDown
            ButtonWidth = 16
            Etched = False
            Glyph.Data = {
              DA020000424DDA0200000000000036000000280000000D0000000D0000000100
              200000000000A402000000000000000000000000000000000000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F00000000000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000000000000000000000000000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F0000000000000000000000000000000000000000000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F0000000000000000000000000000000
              0000000000000000000000000000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0
              F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000F0F0F000}
            HideCalendarAfterSelection = True
            Calendar.Fill.Color = 15984090
            Calendar.Fill.ColorTo = 15785680
            Calendar.Fill.ColorMirror = clNone
            Calendar.Fill.ColorMirrorTo = clNone
            Calendar.Fill.BackGroundPictureLeft = 0
            Calendar.Fill.BackGroundPictureTop = 0
            Calendar.Fill.PictureLeft = 0
            Calendar.Fill.PictureTop = 0
            Calendar.Fill.BorderColor = clNone
            Calendar.Fill.Rounding = 0
            Calendar.Fill.ShadowOffset = 0
            Calendar.Fill.Angle = 0
            Calendar.Animation = True
            Calendar.ShowCurrentDate = True
            Calendar.DateAppearance.DateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DateFont.Color = clWindowText
            Calendar.DateAppearance.DateFont.Height = -11
            Calendar.DateAppearance.DateFont.Name = 'Tahoma'
            Calendar.DateAppearance.DateFont.Style = []
            Calendar.DateAppearance.DateFill.Color = 16773091
            Calendar.DateAppearance.DateFill.ColorTo = 16768452
            Calendar.DateAppearance.DateFill.ColorMirror = 16765357
            Calendar.DateAppearance.DateFill.ColorMirrorTo = 16767936
            Calendar.DateAppearance.DateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.DateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DateFill.PictureLeft = 0
            Calendar.DateAppearance.DateFill.PictureTop = 0
            Calendar.DateAppearance.DateFill.BorderColor = clNone
            Calendar.DateAppearance.DateFill.Rounding = 0
            Calendar.DateAppearance.DateFill.ShadowOffset = 0
            Calendar.DateAppearance.DateFill.Angle = 0
            Calendar.DateAppearance.DayOfWeekFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DayOfWeekFont.Color = clWindowText
            Calendar.DateAppearance.DayOfWeekFont.Height = -11
            Calendar.DateAppearance.DayOfWeekFont.Name = 'Tahoma'
            Calendar.DateAppearance.DayOfWeekFont.Style = []
            Calendar.DateAppearance.DayOfWeekFill.Color = 15984090
            Calendar.DateAppearance.DayOfWeekFill.ColorTo = 15785680
            Calendar.DateAppearance.DayOfWeekFill.ColorMirror = clNone
            Calendar.DateAppearance.DayOfWeekFill.ColorMirrorTo = clNone
            Calendar.DateAppearance.DayOfWeekFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DayOfWeekFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DayOfWeekFill.PictureLeft = 0
            Calendar.DateAppearance.DayOfWeekFill.PictureTop = 0
            Calendar.DateAppearance.DayOfWeekFill.BorderColor = clNone
            Calendar.DateAppearance.DayOfWeekFill.Rounding = 0
            Calendar.DateAppearance.DayOfWeekFill.ShadowOffset = 0
            Calendar.DateAppearance.DayOfWeekFill.Angle = 0
            Calendar.DateAppearance.SelectedDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.SelectedDateFont.Color = clWindowText
            Calendar.DateAppearance.SelectedDateFont.Height = -11
            Calendar.DateAppearance.SelectedDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.SelectedDateFont.Style = []
            Calendar.DateAppearance.SelectedDateFill.Color = 11196927
            Calendar.DateAppearance.SelectedDateFill.ColorTo = 7257087
            Calendar.DateAppearance.SelectedDateFill.ColorMirror = 4370174
            Calendar.DateAppearance.SelectedDateFill.ColorMirrorTo = 8053246
            Calendar.DateAppearance.SelectedDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.SelectedDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.SelectedDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.SelectedDateFill.PictureLeft = 0
            Calendar.DateAppearance.SelectedDateFill.PictureTop = 0
            Calendar.DateAppearance.SelectedDateFill.BorderColor = 4370174
            Calendar.DateAppearance.SelectedDateFill.Rounding = 0
            Calendar.DateAppearance.SelectedDateFill.ShadowOffset = 0
            Calendar.DateAppearance.SelectedDateFill.Angle = 0
            Calendar.DateAppearance.CurrentDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.CurrentDateFont.Color = clWindowText
            Calendar.DateAppearance.CurrentDateFont.Height = -11
            Calendar.DateAppearance.CurrentDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.CurrentDateFont.Style = []
            Calendar.DateAppearance.CurrentDateFill.Color = 7778289
            Calendar.DateAppearance.CurrentDateFill.ColorTo = 4296947
            Calendar.DateAppearance.CurrentDateFill.ColorMirror = 946929
            Calendar.DateAppearance.CurrentDateFill.ColorMirrorTo = 5021693
            Calendar.DateAppearance.CurrentDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.CurrentDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.CurrentDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.CurrentDateFill.PictureLeft = 0
            Calendar.DateAppearance.CurrentDateFill.PictureTop = 0
            Calendar.DateAppearance.CurrentDateFill.BorderColor = 4548219
            Calendar.DateAppearance.CurrentDateFill.Rounding = 0
            Calendar.DateAppearance.CurrentDateFill.ShadowOffset = 0
            Calendar.DateAppearance.CurrentDateFill.Angle = 0
            Calendar.DateAppearance.WeekendFill.Color = 16773091
            Calendar.DateAppearance.WeekendFill.ColorTo = 16768452
            Calendar.DateAppearance.WeekendFill.ColorMirror = 16765357
            Calendar.DateAppearance.WeekendFill.ColorMirrorTo = 16767936
            Calendar.DateAppearance.WeekendFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.WeekendFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.WeekendFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.WeekendFill.PictureLeft = 0
            Calendar.DateAppearance.WeekendFill.PictureTop = 0
            Calendar.DateAppearance.WeekendFill.BorderColor = clNone
            Calendar.DateAppearance.WeekendFill.Rounding = 0
            Calendar.DateAppearance.WeekendFill.ShadowOffset = 0
            Calendar.DateAppearance.WeekendFill.Angle = 0
            Calendar.DateAppearance.WeekendFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.WeekendFont.Color = clWindowText
            Calendar.DateAppearance.WeekendFont.Height = -11
            Calendar.DateAppearance.WeekendFont.Name = 'Tahoma'
            Calendar.DateAppearance.WeekendFont.Style = []
            Calendar.DateAppearance.HoverDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.HoverDateFont.Color = clWindowText
            Calendar.DateAppearance.HoverDateFont.Height = -11
            Calendar.DateAppearance.HoverDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.HoverDateFont.Style = []
            Calendar.DateAppearance.HoverDateFill.Color = 15465983
            Calendar.DateAppearance.HoverDateFill.ColorTo = 11332863
            Calendar.DateAppearance.HoverDateFill.ColorMirror = 5888767
            Calendar.DateAppearance.HoverDateFill.ColorMirrorTo = 10807807
            Calendar.DateAppearance.HoverDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.HoverDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.HoverDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.HoverDateFill.PictureLeft = 0
            Calendar.DateAppearance.HoverDateFill.PictureTop = 0
            Calendar.DateAppearance.HoverDateFill.BorderColor = 10079963
            Calendar.DateAppearance.HoverDateFill.Rounding = 0
            Calendar.DateAppearance.HoverDateFill.ShadowOffset = 0
            Calendar.DateAppearance.HoverDateFill.Angle = 0
            Calendar.DateAppearance.MonthDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.MonthDateFont.Color = clWindowText
            Calendar.DateAppearance.MonthDateFont.Height = -11
            Calendar.DateAppearance.MonthDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.MonthDateFont.Style = []
            Calendar.DateAppearance.YearDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.YearDateFont.Color = clWindowText
            Calendar.DateAppearance.YearDateFont.Height = -11
            Calendar.DateAppearance.YearDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.YearDateFont.Style = []
            Calendar.DateAppearance.WeekNumbers.Font.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.WeekNumbers.Font.Color = clWindowText
            Calendar.DateAppearance.WeekNumbers.Font.Height = -11
            Calendar.DateAppearance.WeekNumbers.Font.Name = 'Tahoma'
            Calendar.DateAppearance.WeekNumbers.Font.Style = []
            Calendar.DateAppearance.WeekNumbers.Fill.Color = 15984090
            Calendar.DateAppearance.WeekNumbers.Fill.ColorTo = 15785680
            Calendar.DateAppearance.WeekNumbers.Fill.ColorMirror = clNone
            Calendar.DateAppearance.WeekNumbers.Fill.ColorMirrorTo = clNone
            Calendar.DateAppearance.WeekNumbers.Fill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.WeekNumbers.Fill.BackGroundPictureTop = 0
            Calendar.DateAppearance.WeekNumbers.Fill.PictureLeft = 0
            Calendar.DateAppearance.WeekNumbers.Fill.PictureTop = 0
            Calendar.DateAppearance.WeekNumbers.Fill.BorderColor = clNone
            Calendar.DateAppearance.WeekNumbers.Fill.Rounding = 0
            Calendar.DateAppearance.WeekNumbers.Fill.ShadowOffset = 0
            Calendar.DateAppearance.WeekNumbers.Fill.Angle = 0
            Calendar.DateAppearance.DisabledDateFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DisabledDateFont.Color = clGray
            Calendar.DateAppearance.DisabledDateFont.Height = -11
            Calendar.DateAppearance.DisabledDateFont.Name = 'Tahoma'
            Calendar.DateAppearance.DisabledDateFont.Style = []
            Calendar.DateAppearance.DisabledDateFill.Color = 15921906
            Calendar.DateAppearance.DisabledDateFill.ColorTo = 11974326
            Calendar.DateAppearance.DisabledDateFill.ColorMirror = 11974326
            Calendar.DateAppearance.DisabledDateFill.ColorMirrorTo = 15921906
            Calendar.DateAppearance.DisabledDateFill.GradientMirrorType = gtVertical
            Calendar.DateAppearance.DisabledDateFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DisabledDateFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DisabledDateFill.PictureLeft = 0
            Calendar.DateAppearance.DisabledDateFill.PictureTop = 0
            Calendar.DateAppearance.DisabledDateFill.BorderColor = clNone
            Calendar.DateAppearance.DisabledDateFill.Rounding = 0
            Calendar.DateAppearance.DisabledDateFill.ShadowOffset = 0
            Calendar.DateAppearance.DisabledDateFill.Angle = 0
            Calendar.DateAppearance.DateBeforeFill.ColorMirror = clNone
            Calendar.DateAppearance.DateBeforeFill.ColorMirrorTo = clNone
            Calendar.DateAppearance.DateBeforeFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DateBeforeFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DateBeforeFill.PictureLeft = 0
            Calendar.DateAppearance.DateBeforeFill.PictureTop = 0
            Calendar.DateAppearance.DateBeforeFill.BorderColor = clNone
            Calendar.DateAppearance.DateBeforeFill.Rounding = 0
            Calendar.DateAppearance.DateBeforeFill.ShadowOffset = 0
            Calendar.DateAppearance.DateBeforeFill.Angle = 0
            Calendar.DateAppearance.DateAfterFill.ColorMirror = clNone
            Calendar.DateAppearance.DateAfterFill.ColorMirrorTo = clNone
            Calendar.DateAppearance.DateAfterFill.BackGroundPictureLeft = 0
            Calendar.DateAppearance.DateAfterFill.BackGroundPictureTop = 0
            Calendar.DateAppearance.DateAfterFill.PictureLeft = 0
            Calendar.DateAppearance.DateAfterFill.PictureTop = 0
            Calendar.DateAppearance.DateAfterFill.BorderColor = clNone
            Calendar.DateAppearance.DateAfterFill.Rounding = 0
            Calendar.DateAppearance.DateAfterFill.ShadowOffset = 0
            Calendar.DateAppearance.DateAfterFill.Angle = 0
            Calendar.DateAppearance.DateBeforeFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DateBeforeFont.Color = clWindowText
            Calendar.DateAppearance.DateBeforeFont.Height = -11
            Calendar.DateAppearance.DateBeforeFont.Name = 'Tahoma'
            Calendar.DateAppearance.DateBeforeFont.Style = []
            Calendar.DateAppearance.DateAfterFont.Charset = DEFAULT_CHARSET
            Calendar.DateAppearance.DateAfterFont.Color = clWindowText
            Calendar.DateAppearance.DateAfterFont.Height = -11
            Calendar.DateAppearance.DateAfterFont.Name = 'Tahoma'
            Calendar.DateAppearance.DateAfterFont.Style = []
            Calendar.StatusAppearance.Fill.Color = clRed
            Calendar.StatusAppearance.Fill.ColorMirror = clNone
            Calendar.StatusAppearance.Fill.ColorMirrorTo = clNone
            Calendar.StatusAppearance.Fill.GradientType = gtSolid
            Calendar.StatusAppearance.Fill.BackGroundPictureLeft = 0
            Calendar.StatusAppearance.Fill.BackGroundPictureTop = 0
            Calendar.StatusAppearance.Fill.PictureLeft = 0
            Calendar.StatusAppearance.Fill.PictureTop = 0
            Calendar.StatusAppearance.Fill.BorderColor = clGray
            Calendar.StatusAppearance.Fill.Rounding = 0
            Calendar.StatusAppearance.Fill.ShadowOffset = 0
            Calendar.StatusAppearance.Fill.Angle = 0
            Calendar.StatusAppearance.Font.Charset = DEFAULT_CHARSET
            Calendar.StatusAppearance.Font.Color = clWhite
            Calendar.StatusAppearance.Font.Height = -11
            Calendar.StatusAppearance.Font.Name = 'Tahoma'
            Calendar.StatusAppearance.Font.Style = []
            Calendar.StatusAppearance.Spacing = 0
            Calendar.Footer.Fill.Color = 16773091
            Calendar.Footer.Fill.ColorTo = 16765615
            Calendar.Footer.Fill.ColorMirror = clNone
            Calendar.Footer.Fill.ColorMirrorTo = clNone
            Calendar.Footer.Fill.BackGroundPictureLeft = 0
            Calendar.Footer.Fill.BackGroundPictureTop = 0
            Calendar.Footer.Fill.PictureLeft = 0
            Calendar.Footer.Fill.PictureTop = 0
            Calendar.Footer.Fill.BorderColor = 16765615
            Calendar.Footer.Fill.Rounding = 0
            Calendar.Footer.Fill.ShadowOffset = 0
            Calendar.Footer.Fill.Angle = 0
            Calendar.Footer.Font.Charset = DEFAULT_CHARSET
            Calendar.Footer.Font.Color = 7485192
            Calendar.Footer.Font.Height = -11
            Calendar.Footer.Font.Name = 'Tahoma'
            Calendar.Footer.Font.Style = []
            Calendar.Header.Fill.Color = 16773091
            Calendar.Header.Fill.ColorTo = 16765615
            Calendar.Header.Fill.ColorMirror = clNone
            Calendar.Header.Fill.ColorMirrorTo = clNone
            Calendar.Header.Fill.BackGroundPictureLeft = 0
            Calendar.Header.Fill.BackGroundPictureTop = 0
            Calendar.Header.Fill.PictureLeft = 0
            Calendar.Header.Fill.PictureTop = 0
            Calendar.Header.Fill.BorderColor = 16765615
            Calendar.Header.Fill.Rounding = 0
            Calendar.Header.Fill.ShadowOffset = 0
            Calendar.Header.Fill.Angle = 0
            Calendar.Header.ArrowColor = 7485192
            Calendar.Header.Font.Charset = DEFAULT_CHARSET
            Calendar.Header.Font.Color = 7485192
            Calendar.Header.Font.Height = -11
            Calendar.Header.Font.Name = 'Tahoma'
            Calendar.Header.Font.Style = []
            Calendar.Width = 257
            Calendar.Height = 249
            Calendar.ShowHint = False
            Date = 40970.000000000000000000
          end
        end
        object TabPageOgraniczenia: TAdvSmoothTabPage
          Left = 1
          Top = 2
          Width = 628
          Height = 503
          Caption = 'Ograniczenia'
          PageAppearance.Color = clWhite
          PageAppearance.ColorTo = clWhite
          PageAppearance.ColorMirror = clWhite
          PageAppearance.ColorMirrorTo = clWhite
          PageAppearance.GradientType = gtNone
          PageAppearance.GradientMirrorType = gtNone
          PageAppearance.BackGroundPictureLeft = 0
          PageAppearance.BackGroundPictureTop = 0
          PageAppearance.PictureLeft = 0
          PageAppearance.PictureTop = 0
          PageAppearance.BorderColor = clWhite
          PageAppearance.Rounding = 0
          PageAppearance.ShadowOffset = 0
          PageAppearance.Angle = 0
          TabAppearance.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Appearance.Font.Color = clWindowText
          TabAppearance.Appearance.Font.Height = -11
          TabAppearance.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Appearance.Font.Style = [fsBold]
          TabAppearance.Status.Caption = '0'
          TabAppearance.Status.Appearance.Fill.Color = clRed
          TabAppearance.Status.Appearance.Fill.ColorMirror = clNone
          TabAppearance.Status.Appearance.Fill.ColorMirrorTo = clNone
          TabAppearance.Status.Appearance.Fill.GradientType = gtSolid
          TabAppearance.Status.Appearance.Fill.BackGroundPictureLeft = 0
          TabAppearance.Status.Appearance.Fill.BackGroundPictureTop = 0
          TabAppearance.Status.Appearance.Fill.PictureLeft = 0
          TabAppearance.Status.Appearance.Fill.PictureTop = 0
          TabAppearance.Status.Appearance.Fill.BorderColor = clGray
          TabAppearance.Status.Appearance.Fill.Rounding = 0
          TabAppearance.Status.Appearance.Fill.ShadowOffset = 0
          TabAppearance.Status.Appearance.Fill.Angle = 0
          TabAppearance.Status.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Status.Appearance.Font.Color = clWhite
          TabAppearance.Status.Appearance.Font.Height = -11
          TabAppearance.Status.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Status.Appearance.Font.Style = []
          TabAppearance.Status.Appearance.Spacing = 0
          TabAppearance.BevelColor = 16765357
          TabAppearance.Color = 16773091
          TabAppearance.ColorDown = 11196927
          TabAppearance.ColorDisabled = 16765357
          object Shape1: TShape
            Left = 2
            Top = 499
            Width = 624
            Height = 2
            Align = alBottom
            Brush.Color = 16765357
            Pen.Color = 16765357
            ExplicitTop = 411
            ExplicitWidth = 552
          end
          object AdvSmoothLabel2: TAdvSmoothLabel
            Left = 2
            Top = 2
            Width = 624
            Height = 71
            Fill.ColorMirror = clNone
            Fill.ColorMirrorTo = clNone
            Fill.BackGroundPictureLeft = 0
            Fill.BackGroundPictureTop = 0
            Fill.PictureLeft = 0
            Fill.PictureTop = 0
            Fill.BorderColor = clNone
            Fill.Rounding = 0
            Fill.ShadowOffset = 0
            Fill.Angle = 0
            Caption.Text = 'Parametry ograniczaj'#261'ce'
            Caption.Font.Charset = DEFAULT_CHARSET
            Caption.Font.Color = clWindowText
            Caption.Font.Height = -27
            Caption.Font.Name = 'Tahoma'
            Caption.Font.Style = []
            Version = '1.1.0.0'
            Align = alTop
            ExplicitLeft = 1
            ExplicitWidth = 552
          end
          object Label3: TLabel
            Left = 25
            Top = 74
            Width = 425
            Height = 13
            Caption = 
              'Podaja jakie warunki ma spe'#322'nia'#263' raport. Zaw'#281#378' parametry do taki' +
              'ch jakie Ci'#281' interesuj'#281'.'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
          object cnRegion: TCheckBox
            Left = 25
            Top = 109
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 0
            OnClick = cnClick
          end
          object cbRegion: TCheckBox
            Left = 138
            Top = 109
            Width = 88
            Height = 17
            Caption = 'Region'
            TabOrder = 1
            OnClick = cbClick
          end
          object cnTypDok: TCheckBox
            Left = 25
            Top = 136
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 2
            OnClick = cnClick
          end
          object cbTypDok: TCheckBox
            Left = 138
            Top = 136
            Width = 104
            Height = 17
            Caption = 'Typ dokumentu'
            TabOrder = 3
            OnClick = cbClick
          end
          object cnHandlowiec: TCheckBox
            Left = 25
            Top = 163
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 4
            OnClick = cnClick
          end
          object cbHandlowiec: TCheckBox
            Left = 138
            Top = 163
            Width = 88
            Height = 17
            Caption = 'Handlowiec'
            TabOrder = 5
            OnClick = cbClick
          end
          object cnSprzedawca: TCheckBox
            Left = 25
            Top = 190
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 6
            OnClick = cnClick
          end
          object cbSprzedawca: TCheckBox
            Left = 138
            Top = 190
            Width = 88
            Height = 17
            Caption = 'Sprzedawca'
            TabOrder = 7
            OnClick = cbClick
          end
          object cnMagazyn: TCheckBox
            Left = 25
            Top = 217
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 8
            OnClick = cnClick
          end
          object cbMagazyn: TCheckBox
            Left = 138
            Top = 217
            Width = 88
            Height = 17
            Caption = 'Magazyn'
            TabOrder = 9
            OnClick = cbClick
          end
          object cnKlient: TCheckBox
            Left = 25
            Top = 244
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 10
            OnClick = cnClick
          end
          object cbKlient: TCheckBox
            Left = 138
            Top = 244
            Width = 88
            Height = 17
            Caption = 'Klient'
            TabOrder = 11
            OnClick = cbClick
          end
          object cnKTM: TCheckBox
            Left = 25
            Top = 271
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 12
            OnClick = cnClick
          end
          object cbKTM: TCheckBox
            Left = 138
            Top = 271
            Width = 88
            Height = 17
            Caption = 'Nr pozycji'
            TabOrder = 13
            OnClick = cbClick
          end
          object cnMarkaT: TCheckBox
            Left = 25
            Top = 298
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 14
            OnClick = cnClick
          end
          object cbMarkaT: TCheckBox
            Left = 138
            Top = 298
            Width = 88
            Height = 17
            Caption = 'Marka'
            TabOrder = 15
            OnClick = cbClick
          end
          object cnGrupaT: TCheckBox
            Left = 25
            Top = 325
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 16
            OnClick = cnClick
          end
          object cbGrupaT: TCheckBox
            Left = 138
            Top = 325
            Width = 88
            Height = 17
            Caption = 'Grupa'
            TabOrder = 17
            OnClick = cbClick
          end
          object cnDostawca: TCheckBox
            Left = 25
            Top = 352
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 18
            OnClick = cnClick
          end
          object cbDostawca: TCheckBox
            Left = 138
            Top = 352
            Width = 88
            Height = 17
            Caption = 'Dostawca'
            TabOrder = 19
            OnClick = cbClick
          end
          object cnPM: TCheckBox
            Left = 25
            Top = 379
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 20
            OnClick = cnClick
          end
          object cbPM: TCheckBox
            Left = 138
            Top = 379
            Width = 88
            Height = 17
            Caption = 'PM'
            TabOrder = 21
            OnClick = cbClick
          end
          object cnTypKl: TCheckBox
            Left = 25
            Top = 406
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 22
            OnClick = cnClick
          end
          object cbTypKl: TCheckBox
            Left = 138
            Top = 406
            Width = 88
            Height = 17
            Caption = 'Typ klienta'
            TabOrder = 23
            OnClick = cbClick
          end
          object cnKlasaKl: TCheckBox
            Left = 25
            Top = 433
            Width = 88
            Height = 17
            Caption = 'Nie nale'#380'y do'
            TabOrder = 24
            OnClick = cnClick
          end
          object cbKlasaKl: TCheckBox
            Left = 138
            Top = 433
            Width = 88
            Height = 17
            Caption = 'Klasa klienta'
            TabOrder = 25
            OnClick = cbClick
          end
          object edRegion: TEditBtn
            Left = 288
            Top = 107
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 26
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edTypDok: TEditBtn
            Left = 288
            Top = 134
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 27
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edHandlowiec: TEditBtn
            Left = 288
            Top = 161
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 28
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edSprzedawca: TEditBtn
            Left = 288
            Top = 188
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 29
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edMagazyn: TEditBtn
            Left = 288
            Top = 215
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 30
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edKlient: TEditBtn
            Left = 288
            Top = 242
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 31
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edKTM: TEditBtn
            Left = 288
            Top = 269
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 32
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edMarkaT: TEditBtn
            Left = 288
            Top = 296
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 33
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edGrupaT: TEditBtn
            Left = 288
            Top = 323
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 34
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edDostawca: TEditBtn
            Left = 288
            Top = 350
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 35
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edPM: TEditBtn
            Left = 288
            Top = 377
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 36
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edTypKl: TEditBtn
            Left = 288
            Top = 404
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 37
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object edKlasaKl: TEditBtn
            Left = 288
            Top = 431
            Width = 290
            Height = 21
            ReturnIsTab = False
            Flat = False
            Etched = False
            FocusBorder = False
            ReadOnly = True
            RightAlign = False
            TabOrder = 38
            Text = '0'
            Version = '1.5.0.0'
            OnClickBtn = edBtnClick
          end
          object brMarkiWalsne: TButton
            Left = 584
            Top = 296
            Width = 25
            Height = 21
            Caption = 'W'
            TabOrder = 39
            OnClick = brMarkiWalsneClick
          end
        end
        object TabPageGrupowanie: TAdvSmoothTabPage
          Left = 1
          Top = 2
          Width = 628
          Height = 503
          Caption = 'Grupowanie'
          PageAppearance.Color = clWhite
          PageAppearance.ColorTo = clWhite
          PageAppearance.ColorMirror = clWhite
          PageAppearance.ColorMirrorTo = clWhite
          PageAppearance.GradientType = gtNone
          PageAppearance.GradientMirrorType = gtNone
          PageAppearance.BackGroundPictureLeft = 0
          PageAppearance.BackGroundPictureTop = 0
          PageAppearance.PictureLeft = 0
          PageAppearance.PictureTop = 0
          PageAppearance.BorderColor = clWhite
          PageAppearance.Rounding = 0
          PageAppearance.ShadowOffset = 0
          PageAppearance.Angle = 0
          TabAppearance.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Appearance.Font.Color = clWindowText
          TabAppearance.Appearance.Font.Height = -11
          TabAppearance.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Appearance.Font.Style = [fsBold]
          TabAppearance.Status.Caption = '0'
          TabAppearance.Status.Appearance.Fill.Color = clRed
          TabAppearance.Status.Appearance.Fill.ColorMirror = clNone
          TabAppearance.Status.Appearance.Fill.ColorMirrorTo = clNone
          TabAppearance.Status.Appearance.Fill.GradientType = gtSolid
          TabAppearance.Status.Appearance.Fill.BackGroundPictureLeft = 0
          TabAppearance.Status.Appearance.Fill.BackGroundPictureTop = 0
          TabAppearance.Status.Appearance.Fill.PictureLeft = 0
          TabAppearance.Status.Appearance.Fill.PictureTop = 0
          TabAppearance.Status.Appearance.Fill.BorderColor = clGray
          TabAppearance.Status.Appearance.Fill.Rounding = 8
          TabAppearance.Status.Appearance.Fill.ShadowOffset = 0
          TabAppearance.Status.Appearance.Fill.Angle = 0
          TabAppearance.Status.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Status.Appearance.Font.Color = clWhite
          TabAppearance.Status.Appearance.Font.Height = -11
          TabAppearance.Status.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Status.Appearance.Font.Style = []
          TabAppearance.Status.Appearance.Spacing = 0
          TabAppearance.BevelColor = 16765357
          TabAppearance.Color = 16773091
          TabAppearance.ColorDown = 11196927
          TabAppearance.ColorDisabled = 16765357
          object Shape3: TShape
            Left = 2
            Top = 499
            Width = 624
            Height = 2
            Align = alBottom
            Brush.Color = 16765357
            Pen.Color = 16765357
            ExplicitTop = 411
            ExplicitWidth = 552
          end
          object AdvSmoothLabel3: TAdvSmoothLabel
            Left = 2
            Top = 2
            Width = 624
            Height = 71
            Fill.ColorMirror = clNone
            Fill.ColorMirrorTo = clNone
            Fill.BackGroundPictureLeft = 0
            Fill.BackGroundPictureTop = 0
            Fill.PictureLeft = 0
            Fill.PictureTop = 0
            Fill.BorderColor = clNone
            Fill.Rounding = 0
            Fill.ShadowOffset = 0
            Fill.Angle = 0
            Caption.Text = 'Warunki grupuj'#261'ce'
            Caption.Font.Charset = DEFAULT_CHARSET
            Caption.Font.Color = clWindowText
            Caption.Font.Height = -27
            Caption.Font.Name = 'Tahoma'
            Caption.Font.Style = []
            Version = '1.1.0.0'
            Align = alTop
            ExplicitWidth = 552
          end
          object Label5: TLabel
            Left = 25
            Top = 74
            Width = 212
            Height = 13
            Caption = 'Okre'#347'l sumy czego powinny by'#263' w raporcie. '
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
          object Label6: TLabel
            Left = 25
            Top = 93
            Width = 329
            Height = 13
            Caption = 
              'Zaznaczone pozycje znajd'#261' sie w jako oddzielne kolumny w raporci' +
              'e.'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
          object gRegion: TCheckBox
            Left = 128
            Top = 139
            Width = 88
            Height = 17
            Caption = 'Region'
            TabOrder = 0
            OnClick = grClick
          end
          object gTypDok: TCheckBox
            Left = 128
            Top = 329
            Width = 104
            Height = 17
            Caption = 'Typ dokumentu'
            TabOrder = 1
            OnClick = grClick
          end
          object gHandlowiec: TCheckBox
            Left = 128
            Top = 167
            Width = 88
            Height = 17
            Caption = 'Handlowiec'
            TabOrder = 2
            OnClick = grClick
          end
          object gSprzedawca: TCheckBox
            Left = 128
            Top = 194
            Width = 88
            Height = 17
            Caption = 'Sprzedawca'
            TabOrder = 3
            OnClick = grClick
          end
          object gMagazyn: TCheckBox
            Left = 128
            Top = 221
            Width = 88
            Height = 17
            Caption = 'Magazyn'
            TabOrder = 4
            OnClick = grClick
          end
          object gKlient: TCheckBox
            Left = 128
            Top = 248
            Width = 88
            Height = 17
            Caption = 'Klient'
            TabOrder = 5
            OnClick = grClick
          end
          object gOdbiorca: TCheckBox
            Left = 128
            Top = 275
            Width = 88
            Height = 17
            Caption = 'Odbiorca'
            TabOrder = 6
            OnClick = grClick
          end
          object gFaktura: TCheckBox
            Left = 128
            Top = 355
            Width = 88
            Height = 17
            Caption = 'Faktura'
            TabOrder = 7
            OnClick = grClick
          end
          object gDataFaktury: TCheckBox
            Left = 128
            Top = 383
            Width = 88
            Height = 17
            Caption = 'Data faktury'
            TabOrder = 8
            Visible = False
            OnClick = grClick
          end
          object gZamKlienta: TCheckBox
            Left = 128
            Top = 410
            Width = 119
            Height = 17
            Caption = 'Zam'#243'wienie klienta'
            TabOrder = 9
            Visible = False
            OnClick = grClick
          end
          object gKTM: TCheckBox
            Left = 445
            Top = 138
            Width = 88
            Height = 17
            Caption = 'Nr pozycji'
            TabOrder = 10
            OnClick = grClick
          end
          object gMarkaT: TCheckBox
            Left = 445
            Top = 165
            Width = 104
            Height = 17
            Caption = 'Marka towarowa'
            TabOrder = 11
            OnClick = grClick
          end
          object gGrupaT: TCheckBox
            Left = 445
            Top = 192
            Width = 108
            Height = 17
            Caption = 'Grupa towarowa'
            TabOrder = 12
            OnClick = grClick
          end
          object gDostawca: TCheckBox
            Left = 445
            Top = 219
            Width = 88
            Height = 17
            Caption = 'Dostawca'
            TabOrder = 13
            OnClick = grClick
          end
          object gPm: TCheckBox
            Left = 445
            Top = 246
            Width = 88
            Height = 17
            Caption = 'PM'
            TabOrder = 14
            OnClick = grClick
          end
          object gTypKl: TCheckBox
            Left = 445
            Top = 273
            Width = 88
            Height = 17
            Caption = 'Typ klienta'
            TabOrder = 15
            OnClick = grClick
          end
          object gGrupaKl: TCheckBox
            Left = 445
            Top = 300
            Width = 88
            Height = 17
            Caption = 'Grupa klienta'
            TabOrder = 16
            OnClick = grClick
          end
          object gKlasaKl: TCheckBox
            Left = 445
            Top = 327
            Width = 88
            Height = 17
            Caption = 'Klasa klienta'
            TabOrder = 17
            OnClick = grClick
          end
          object gWysylka: TCheckBox
            Left = 128
            Top = 302
            Width = 88
            Height = 17
            Caption = 'Spos'#243'b wysy'#322'ki'
            TabOrder = 18
            OnClick = grClick
          end
          object gbSzczegoly: TGroupBox
            Left = 253
            Top = 242
            Width = 122
            Height = 220
            Caption = 'Klient'
            TabOrder = 19
            Visible = False
            object gKlNazwa: TCheckBox
              Left = 16
              Top = 24
              Width = 97
              Height = 17
              Caption = 'Nazwa'
              TabOrder = 0
              OnClick = grClick
            end
            object gKlAdres: TCheckBox
              Left = 16
              Top = 48
              Width = 97
              Height = 17
              Caption = 'Adres'
              TabOrder = 1
              OnClick = grClick
            end
            object gKlMiasto: TCheckBox
              Left = 16
              Top = 72
              Width = 97
              Height = 17
              Caption = 'Miasto'
              TabOrder = 2
              OnClick = grClick
            end
            object gKlTelefon1: TCheckBox
              Left = 16
              Top = 96
              Width = 97
              Height = 17
              Caption = 'Telefon1'
              TabOrder = 3
              OnClick = grClick
            end
            object gKlTelefon2: TCheckBox
              Left = 16
              Top = 120
              Width = 97
              Height = 17
              Caption = 'Telefon2'
              TabOrder = 4
              OnClick = grClick
            end
            object gKlFax: TCheckBox
              Left = 16
              Top = 144
              Width = 97
              Height = 17
              Caption = 'Fax'
              TabOrder = 5
              OnClick = grClick
            end
            object gKlNip: TCheckBox
              Left = 16
              Top = 168
              Width = 97
              Height = 17
              Caption = 'NIP'
              TabOrder = 6
              OnClick = grClick
            end
            object gKlKontakt: TCheckBox
              Left = 16
              Top = 192
              Width = 97
              Height = 17
              Caption = 'Kontakt'
              TabOrder = 7
              OnClick = grClick
            end
          end
        end
        object TabPageZrodla: TAdvSmoothTabPage
          Left = 1
          Top = 2
          Width = 628
          Height = 503
          Caption = #377'r'#243'dla'
          PageAppearance.Color = clWhite
          PageAppearance.ColorTo = clWhite
          PageAppearance.ColorMirror = clWhite
          PageAppearance.ColorMirrorTo = clWhite
          PageAppearance.GradientType = gtNone
          PageAppearance.GradientMirrorType = gtNone
          PageAppearance.BackGroundPictureLeft = 0
          PageAppearance.BackGroundPictureTop = 0
          PageAppearance.PictureLeft = 0
          PageAppearance.PictureTop = 0
          PageAppearance.BorderColor = clWhite
          PageAppearance.Rounding = 0
          PageAppearance.ShadowOffset = 0
          PageAppearance.Angle = 0
          TabAppearance.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Appearance.Font.Color = clWindowText
          TabAppearance.Appearance.Font.Height = -11
          TabAppearance.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Appearance.Font.Style = [fsBold]
          TabAppearance.Status.Caption = '0'
          TabAppearance.Status.Appearance.Fill.Color = clRed
          TabAppearance.Status.Appearance.Fill.ColorMirror = clNone
          TabAppearance.Status.Appearance.Fill.ColorMirrorTo = clNone
          TabAppearance.Status.Appearance.Fill.GradientType = gtSolid
          TabAppearance.Status.Appearance.Fill.BackGroundPictureLeft = 0
          TabAppearance.Status.Appearance.Fill.BackGroundPictureTop = 0
          TabAppearance.Status.Appearance.Fill.PictureLeft = 0
          TabAppearance.Status.Appearance.Fill.PictureTop = 0
          TabAppearance.Status.Appearance.Fill.BorderColor = clGray
          TabAppearance.Status.Appearance.Fill.Rounding = 8
          TabAppearance.Status.Appearance.Fill.ShadowOffset = 0
          TabAppearance.Status.Appearance.Fill.Angle = 0
          TabAppearance.Status.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Status.Appearance.Font.Color = clWhite
          TabAppearance.Status.Appearance.Font.Height = -11
          TabAppearance.Status.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Status.Appearance.Font.Style = []
          TabAppearance.Status.Appearance.Spacing = 0
          TabAppearance.BevelColor = 16765357
          TabAppearance.Color = 16773091
          TabAppearance.ColorDown = 11196927
          TabAppearance.ColorDisabled = 16765357
          OnShow = TabPageZrodlaShow
          DesignSize = (
            628
            503)
          object Shape4: TShape
            Left = 2
            Top = 499
            Width = 624
            Height = 2
            Align = alBottom
            Brush.Color = 16765357
            Pen.Color = 16765357
            ExplicitTop = 411
            ExplicitWidth = 552
          end
          object AdvSmoothLabel4: TAdvSmoothLabel
            Left = 2
            Top = 2
            Width = 624
            Height = 71
            Fill.ColorMirror = clNone
            Fill.ColorMirrorTo = clNone
            Fill.BackGroundPictureLeft = 0
            Fill.BackGroundPictureTop = 0
            Fill.PictureLeft = 0
            Fill.PictureTop = 0
            Fill.BorderColor = clNone
            Fill.Rounding = 0
            Fill.ShadowOffset = 0
            Fill.Angle = 0
            Caption.Text = 'Warunki raportu'
            Caption.Font.Charset = DEFAULT_CHARSET
            Caption.Font.Color = clWindowText
            Caption.Font.Height = -27
            Caption.Font.Name = 'Tahoma'
            Caption.Font.Style = []
            Version = '1.1.0.0'
            Align = alTop
            ExplicitWidth = 552
          end
          object Label7: TLabel
            Left = 25
            Top = 74
            Width = 219
            Height = 13
            Caption = 'Okre'#347'l jakie warunki powinien spe'#322'nia'#263' raport.'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
          object GroupBox1: TGroupBox
            Left = 25
            Top = 129
            Width = 584
            Height = 97
            Anchors = [akLeft, akTop, akRight]
            Caption = ' Historia '
            TabOrder = 0
            object Label14: TLabel
              Left = 168
              Top = 15
              Width = 295
              Height = 26
              Caption = 
                'Uwzgl'#281'dniaj'#261' handlowc'#243'w, dostawc'#243'w i PM'#243'w, przypisanych '#13#10'do poz' +
                'ycji/dokumentu w dniu wystawiania zam'#243'wienia.'
            end
            object Label15: TLabel
              Left = 168
              Top = 56
              Width = 288
              Height = 26
              Caption = 
                'Uwzgl'#281'dniaj'#261' obecnie przypisanych handlowc'#243'w do klient'#243'w'#13#10'oraz d' +
                'ostawc'#243'w i PM'#243'w do pozycji towarowych.'
            end
            object rbDaneHist: TRadioButton
              Left = 16
              Top = 24
              Width = 113
              Height = 17
              Caption = 'Dane historyczne'
              Checked = True
              TabOrder = 0
              TabStop = True
            end
            object rbDaneBiez: TRadioButton
              Left = 16
              Top = 61
              Width = 113
              Height = 17
              Caption = 'Dane bie'#380#261'ce'
              TabOrder = 1
            end
          end
          object GroupBox2: TGroupBox
            Left = 25
            Top = 251
            Width = 585
            Height = 95
            Anchors = [akLeft, akTop, akRight]
            Caption = ' Zestawy '
            TabOrder = 1
            object Label16: TLabel
              Left = 168
              Top = 15
              Width = 326
              Height = 26
              Caption = 
                'Raport wyliczany z uwzglednieniem wiersza g'#322#243'wnego zestaw'#243'w. '#13#10'N' +
                'ie zaleca si'#281' przy szczeg'#243#322'owych analizach pozycji, dostawc'#243'w it' +
                'p.'
            end
            object Label17: TLabel
              Left = 168
              Top = 56
              Width = 326
              Height = 26
              Caption = 
                'Raport uwzgl'#281'dnia pozycje z zestaw'#243'w. Zalecane przy zaznaczeniu ' +
                #13#10'szczeg'#243#322'owych opcji.'
            end
            object rbZestawLinie: TRadioButton
              Left = 16
              Top = 24
              Width = 137
              Height = 17
              Caption = 'Wiersz g'#322#243'wny zestawu'
              TabOrder = 0
            end
            object rbZestawPoz: TRadioButton
              Left = 16
              Top = 62
              Width = 113
              Height = 17
              Caption = 'Pozycje zestawu'
              Checked = True
              TabOrder = 1
              TabStop = True
            end
          end
          object GroupBox3: TGroupBox
            Left = 25
            Top = 378
            Width = 585
            Height = 95
            Anchors = [akLeft, akTop, akRight]
            Caption = ' Format dany '
            TabOrder = 2
            object lbUsunSpacje: TLabel
              Left = 168
              Top = 28
              Width = 198
              Height = 13
              Caption = 'Usu'#324' spacje ko'#324'cowe z wynki'#243'w raportu.'
            end
            object lbZostawSpacje: TLabel
              Left = 168
              Top = 63
              Width = 221
              Height = 13
              Caption = 'Zachowaj pe'#322'n'#261' d'#322'ugo'#347#263' danych wyj'#347'ciowych.'
            end
            object rbUsunSpacje: TRadioButton
              Left = 16
              Top = 24
              Width = 146
              Height = 17
              Caption = 'Usuwaj ko'#324'cowe spacje'
              Checked = True
              TabOrder = 0
              TabStop = True
            end
            object rbZostawSpacje: TRadioButton
              Tag = 10
              Left = 16
              Top = 62
              Width = 146
              Height = 17
              Caption = 'Pozostaw ko'#324'cowe spacje'
              TabOrder = 1
            end
          end
        end
        object TabPageRaport: TAdvSmoothTabPage
          Left = 1
          Top = 2
          Width = 628
          Height = 503
          Caption = 'Raport'
          PageAppearance.Color = clWhite
          PageAppearance.ColorTo = clWhite
          PageAppearance.ColorMirror = clWhite
          PageAppearance.ColorMirrorTo = clWhite
          PageAppearance.GradientType = gtNone
          PageAppearance.GradientMirrorType = gtNone
          PageAppearance.BackGroundPictureLeft = 0
          PageAppearance.BackGroundPictureTop = 0
          PageAppearance.PictureLeft = 0
          PageAppearance.PictureTop = 0
          PageAppearance.BorderColor = clWhite
          PageAppearance.Rounding = 0
          PageAppearance.ShadowOffset = 0
          PageAppearance.Angle = 0
          TabAppearance.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Appearance.Font.Color = clWindowText
          TabAppearance.Appearance.Font.Height = -11
          TabAppearance.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Appearance.Font.Style = [fsBold]
          TabAppearance.Status.Caption = '0'
          TabAppearance.Status.Appearance.Fill.Color = clRed
          TabAppearance.Status.Appearance.Fill.ColorMirror = clNone
          TabAppearance.Status.Appearance.Fill.ColorMirrorTo = clNone
          TabAppearance.Status.Appearance.Fill.GradientType = gtSolid
          TabAppearance.Status.Appearance.Fill.BackGroundPictureLeft = 0
          TabAppearance.Status.Appearance.Fill.BackGroundPictureTop = 0
          TabAppearance.Status.Appearance.Fill.PictureLeft = 0
          TabAppearance.Status.Appearance.Fill.PictureTop = 0
          TabAppearance.Status.Appearance.Fill.BorderColor = clGray
          TabAppearance.Status.Appearance.Fill.Rounding = 8
          TabAppearance.Status.Appearance.Fill.ShadowOffset = 0
          TabAppearance.Status.Appearance.Fill.Angle = 0
          TabAppearance.Status.Appearance.Font.Charset = DEFAULT_CHARSET
          TabAppearance.Status.Appearance.Font.Color = clWhite
          TabAppearance.Status.Appearance.Font.Height = -11
          TabAppearance.Status.Appearance.Font.Name = 'Tahoma'
          TabAppearance.Status.Appearance.Font.Style = []
          TabAppearance.Status.Appearance.Spacing = 0
          TabAppearance.BevelColor = 16765357
          TabAppearance.Color = 16773091
          TabAppearance.ColorDown = 11196927
          TabAppearance.ColorDisabled = 16765357
          OnShow = TabPageRaportShow
          object Shape5: TShape
            Left = 2
            Top = 499
            Width = 624
            Height = 2
            Align = alBottom
            Brush.Color = 16765357
            Pen.Color = 16765357
            ExplicitTop = 411
            ExplicitWidth = 552
          end
          object AdvSmoothLabel5: TAdvSmoothLabel
            Left = 2
            Top = 2
            Width = 624
            Height = 71
            Fill.ColorMirror = clNone
            Fill.ColorMirrorTo = clNone
            Fill.BackGroundPictureLeft = 0
            Fill.BackGroundPictureTop = 0
            Fill.PictureLeft = 0
            Fill.PictureTop = 0
            Fill.BorderColor = clNone
            Fill.Rounding = 0
            Fill.ShadowOffset = 0
            Fill.Angle = 0
            Caption.Text = 'Generuje raport'
            Caption.Font.Charset = DEFAULT_CHARSET
            Caption.Font.Color = clWindowText
            Caption.Font.Height = -27
            Caption.Font.Name = 'Tahoma'
            Caption.Font.Style = []
            Version = '1.1.0.0'
            Align = alTop
            ExplicitWidth = 552
          end
          object Label8: TLabel
            Left = 287
            Top = 255
            Width = 79
            Height = 13
            Caption = 'Prosz'#281' czeka'#263'...'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = 13806142
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            ParentFont = False
          end
        end
      end
    end
  end
  object Conn: TADOConnection
    CommandTimeout = 0
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=gogen;Persist Security Info=True;Us' +
      'er ID=sa;Initial Catalog=two;Data Source=inspiron'
    ConnectionTimeout = 0
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 112
    Top = 40
  end
  object qTemp: TADOQuery
    Connection = Conn
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select sopnumbe, cast(subtotal  as int)'
      'from sop30200')
    Left = 112
    Top = 88
  end
  object twStrList: TtwStrList
    StrList = <
      item
        Strings.Strings = (
          'SELECT distinct SALSTERR FROM RM00101 with (nolock)')
        Caption = 'selectRegion'
      end
      item
        Strings.Strings = (
          'select distinct substring(docid, 1, 6)+'#39'%'#39' '
          'from sop40200'
          'where soptype=3          ')
        Caption = 'selectTypDok'
      end
      item
        Strings.Strings = (
          'SELECT Opis FROM TW_SLOWNIK WHERE Kod=1')
        Caption = 'selectHandlowiec'
      end
      item
        Strings.Strings = (
          'SELECT Opis FROM TW_SLOWNIK WHERE KOD=2')
        Caption = 'selectSprzedawca'
      end
      item
        Strings.Strings = (
          'EXEC dbo.TW_ListaPM')
        Caption = 'selectPM'
      end
      item
        Strings.Strings = (
          'SELECT LOCNCODE FROM IV40700 ORDER BY LOCNCODE')
        Caption = 'selectMagazyn'
      end
      item
        Strings.Strings = (
          'SELECT DISTINCT SUBSTRING(ITEMNMBR,1,3) FROM IV00101')
        Caption = 'selectMarkaT'
      end
      item
        Strings.Strings = (
          'SELECT DISTINCT SUBSTRING(ITEMNMBR,4,3) FROM IV00101')
        Caption = 'selectGrupaT'
      end
      item
        Strings.Strings = (
          'select distinct CUSTCLAS from RM00101 with (nolock)')
        Caption = 'selectKlasaKl'
      end
      item
        Strings.Strings = (
          'select distinct typ from tw_crm1002')
        Caption = 'selectTypKl'
      end
      item
        Strings.Strings = (
          'INSERT INTO MBA..TW_ANALOKR '
          '(UserID, Typ, Grupa, Nazwa, OdDnia, DoDnia, Szablon)'
          'VALUES ('
          #39'[%USER%]'#39','
          '[%TYP%],'
          #39'[%GRUPA%]'#39','
          #39'[%NAZWA%]'#39','
          #39'[%ODDNIA%]'#39','
          #39'[%DODNIA%]'#39','
          #39'[%SZABLON%]'#39
          ')')
        Caption = 'insertSzablon'
      end
      item
        Strings.Strings = (
          'delete from MBA..TW_ANALOKR'
          'where Typ=1'
          'and UserID='#39'[%USER%]'#39
          'and Grupa='#39'[%GRUPA%]'#39
          'and Nazwa='#39'[%NAZWA%]'#39)
        Caption = 'deleteSzablon'
      end
      item
        Strings.Strings = (
          'select * from MBA..TW_ANALOKR'
          'where typ=1 and UserID='#39'[%USER%]'#39
          'order by grupa, nazwa')
        Caption = 'selectSzablony'
      end
      item
        Strings.Strings = (
          'select * from MBA..TW_ANALOKR'
          'where typ=1 '
          'and UserID='#39'[%USER%]'#39' '
          'and Nazwa='#39'[%NAZWA%]'#39
          'and Grupa='#39'[%GRUPA%]'#39)
        Caption = 'selectSzablon'
      end
      item
        Strings.Strings = (
          'select Distinct Grupa from MBA..TW_ANALOKR'
          'where typ=1'
          'and UserID='#39'[%USER%]'#39)
        Caption = 'selectGrupy'
      end
      item
        Strings.Strings = (
          'select Opis from TW_SLOWNIK where Kod=300')
        Caption = 'selectSieciHandlowe'
      end
      item
        Strings.Strings = (
          'select Opis from TW_SLOWNIK where Kod=200 order by Opis')
        Caption = 'selectMarkiWlasne'
      end
      item
        Strings.Strings = (
          'select * from twdniwolne where Dzien=[%DZIEN%]')
        Caption = 'selectDzienWolny'
      end>
    Left = 112
    Top = 136
  end
  object twDostep1: TtwDostep
    Connection = Conn
    Parameters = <>
    Left = 112
    Top = 192
  end
end
